﻿
<div>
    <form name="disputeInformationCreateOrEditForm" role="form" novalidate class="form-validation">
        <div class="modal-header">
            <h4 class="modal-title">
                <span>平安无事</span>
            </h4>
        </div>
        <div class="portlet light margin-bottom-0">
            <div class="portlet-body">
                <div class="form">
                    <div class="form-body" enter-key="vm.getPageddisputeInformations()">
                        <div class="row margin-bottom-10">
                            <div class="col-md-12">
                                <div class="inputs inputs-full-width">
                                    @* 用于控制input的组件 *@
                                    <div class="portlet-input">
                                        <div class="input-group">
                                            <input date-range-picker type="text" options="vm.dateRangeOptions" min="vm.dateRangeOptions.min" max="vm.dateRangeOptions.max" class="form-control date-picker" ng-model="vm.dateRangeModel" placeholder="@L("SearchDateRange")" />

                                            @* 在文本框后面添加个搜素图片按钮 *@
                                            <span class="input-group-btn">
                                                <button ng-click="vm.getPingAnWuShi()" class="btn default" type="submit"><i class="icon-magnifier"></i></button>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        @* 以下是高级过滤功能 *@
                        @*<div class="row margin-bottom-10" ng-if="vm.advancedFiltersAreShown">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label class="control-label">@L("DateRange")</label>
                                        <input date-range-picker type="text" options="vm.dateRangeOptions" min="vm.dateRangeOptions.min" max="vm.dateRangeOptions.max" class="form-control date-picker" ng-model="vm.dateRangeModel" />
                                    </div>
                                </div>
                            </div>*@
                    </div>
                    @*//这里根据实际情况修改吧。*@
                    @*<div class="row margin-bottom-10" ng-if="vm.advancedFiltersAreShown">
                            <div class="col-sm-12 text-right">
                                <button class="btn blue" ng-click="vm.getUsers()"><i class="fa fa-refresh"></i> @L("Refresh")</button>
                            </div>
                        </div>
                        <div class="row margin-bottom-10">
                            <div class="col-sm-12">
                                <span class="clickable-item text-muted" ng-if="!vm.advancedFiltersAreShown" ng-click="vm.advancedFiltersAreShown=!vm.advancedFiltersAreShown"><i class="fa fa-angle-down"></i> @L("ShowAdvancedFilters")</span>
                                <span class="clickable-item text-muted" ng-if="vm.advancedFiltersAreShown" ng-click="vm.advancedFiltersAreShown=!vm.advancedFiltersAreShown"><i class="fa fa-angle-up"></i> @L("HideAdvancedFilters")</span>
                            </div>
                        </div>*@
                </div>
            </div>
        </div>
        <div class="modal-body">

            <table class="table table-hover table-bordered table-striped">
                <thead>
                <td class="text-center text-bold">县</td>
                <td class="text-center text-bold">区</td>
                <td class="text-center text-bold">村</td>
                <td class="text-center text-bold">上传人</td>
                <td class="text-center text-bold">时间</td>
                <td class="text-center text-bold">统计</td>
                </thead>
                <tr ng-repeat="x in vm.pingAnWuShiList">
                    <td>{{ x.townTitle }}</td>
                    <td>{{ x.areaTitle }}</td>
                    <td>{{ x.villageTitle }}</td>
                    <td>{{ x.uploadName }}</td>
                    <td>{{ x.createTime | date:'yyyy-MM-dd hh:mm:ss' }}</td>
                    <td>{{ x.countDis }}</td>
                </tr>
            </table>

        </div>
        <div class="modal-footer">
            <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button>
        </div>
    </form>
</div>




